package com.pro.service;

import com.pro.pojo.JsUser;
import com.pro.pojo.JsUserOrder;

import java.util.List;

public interface OrderService {

    /*
     * create by: 赵自强
     * create time: 2022/1/27 5:47
     * @return com.pro.pojo.JsonData
     * 获取所有课程订单 getCourseOrders
     */
    List<JsUserOrder> getCourseOrders(JsUserOrder jsUserOrder);
    /*
     * create by: 赵自强
     * create time: 2022/1/27 20:18
     * @return com.pro.pojo.JsonData
     * 查询主讲师&&商家名称 getUserById Integer userId
     */
    JsUser getUserById(Integer userId);
    /*
     * create by: 赵自强
     * create time: 2022/1/27 20:30
     * @return com.pro.pojo.JsonData
     * 获取商品订单 getGoodsOrders JsUserOrder jsUserOrder
     */
    List<JsUserOrder> getGoodsOrders(JsUserOrder jsUserOrder);
    /*
     * create by: 赵自强
     * create time: 2022/2/8 13:51
     * @return com.pro.pojo.JsonData
     * 删除订单 delOrder Integer orderId
     */
    Boolean delOrder(Integer orderId);

}
